﻿
namespace DBA.Data.ADO 
{
    class OracleClientDAL : DataAccessLibrary
    {
        /// <summary>
        /// 子类的构造函数，调用父类的构造函数
        /// </summary>
        public OracleClientDAL()
        {
        }

        /// <summary>
        /// 子类的构造函数，调用父类的构造函数
        /// </summary>
        /// <param name="connectionString">连接字符串</param>
        /// <param name="providerName">数据库驱动的名称。System.Data.SqlClient、System.Data.OleDb 、System.Data.Odbc、System.Data.OracleClient等</param>
        public OracleClientDAL(string connectionString, string providerName)
            : base(connectionString, providerName)
        {
        }

        /// <summary>
        /// 设置存储过程的参数名称的前缀。Orcale返回“:”
        /// </summary>
        /// <returns></returns>
        public override string ParameterPrefix()
        {
            return ":";
        }
    
    }
}
